<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- th:fragment 定义需要引入的代码块，该div包含的内容即为引用的公共内容 -->
    <div th:fragment="adminHeader (title)">
        <head>
            <meta charset="UTF-8">
            <meta name="renderer" content="webkit">
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
            <title th:text="${title}"></title>
            <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/layui/css/layui.css'}"/>
            <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/css/admin.css'}"/>
            <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/css/public.css'}"/>
            <script th:src="@{${path} + '/admin/layui/layui.js'}"  type="text/javascript" charset="utf-8"></script>
        </head>
    </div>

    <div th:fragment="adminCss">
        <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/layui/css/layui.css'}"/>
        <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/css/admin.css'}"/>
        <link rel="stylesheet" type="text/css" th:href="@{${path} + '/admin/css/public.css'}"/>
        <script th:src="@{${path} + '/admin/layui/layui.js'}"  type="text/javascript" charset="utf-8"></script>
    </div>
</html>